#ifndef BUBBLESORT_H
#define BUBBLESORT_H

#include "array.h"
#include "sortingAlgorithm.h"

class BubbleSort:public SortingAlgorithm {
public:
    BubbleSort();
    virtual ~BubbleSort();
    virtual void sort(Array * a);
    void sort(int * items, unsigned long from, unsigned long to, bool desc = false);
    void sort(int * items, unsigned long from, unsigned long to, unsigned long jump, bool desc = false);
};

#endif // SORTINGALGORITHMS_H
